//package com.example.springboot.WebService;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
//
//@Configuration
//public class WenStaticService extends WebMvcConfigurationSupport {
//    @Override
//    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/static/admin_sculpture/**").addResourceLocations("classpath:/static/admin_sculpture/");
//        registry.addResourceHandler("/static/student_sculpture/**").addResourceLocations("classpath:/static/student_sculpture/");
//        registry.addResourceHandler("/static/teacher_sculpture/**").addResourceLocations("classpath:/static/teacher_sculpture/");
//        registry.addResourceHandler("/static/video/**").addResourceLocations("classpath:/static/video/");
//        registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
//        registry.addResourceHandler("/static/css/**").addResourceLocations("classpath:/static/css/");
//        registry.addResourceHandler("/static/js/**").addResourceLocations("classpath:/js/");
//        registry.addResourceHandler("/static/img/**").addResourceLocations("classpath:/static/img/");
//    }
//}